package com.xsk.dao;

import com.xsk.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//@Mapper
public interface UserDao   {
//    @Select("SELECT * FROM user WHERE name = #{name}")
//    List<User> findUserByName( String name);
    List<User> findUserByName(String name);

    User findUserById(  Integer id);
}
